package com.cgsd.heyu.entity;

import com.google.gson.Gson;

/**
 * @author xiaoxing
 * Description 广告设置
 * CreateData: 2020/11/24
 */
public class AdContentEntity {
    //穿山甲
    public static final String CHUANSHANJIA = "1";
    //广点通
    public static final String GUANGDIANTONG = "2";

    public String seqId;
    /**
     * 广告类型：1 开屏广告；2 banner广告；3 全屏视频广告；4 插屏广告；5 激励视频广告；
     */
    public String advertisingType;
    /**
     * 平台类型：1 穿山甲；2 广点通
     */
    public String platformType;
    /**
     * 广告位id
     */
    public String advertisingId;

    public AdContentEntity() {
    }

    public AdContentEntity(String platformType, String advertisingId) {
        this.platformType = platformType;
        this.advertisingId = advertisingId;
    }

    @Override
    public String toString() {
        return new Gson().toJson(this);
    }
}
